package com.luo.chengrui.module.sa.controller.admin.datapermission.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 数据权限项，每一项对应一个业务权限场景 Excel VO
 *
 * @author 诚睿
 */
@Data
public class DataPermissionItemExcelVO {

    @ExcelProperty("ID")
    private String id;

    @ExcelProperty("分类树ID")
    private String folderId;

    @ExcelProperty("分类名称")
    private String folderName;

    @ExcelProperty("定义ID")
    private String defineId;

    @ExcelProperty("编码")
    private String code;

    @ExcelProperty("名称")
    private String name;

    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "状态")
    private Integer status;

    @ExcelProperty("乐观锁")
    private Long version;

    @ExcelProperty("创建人")
    private String creator;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("更新人")
    private String updater;

    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

    @ExcelProperty("逻辑删除")
    private Boolean deleted;

}
